package com.tanqing.ddd.web.domain;

import com.tanqing.ddd.domain.event.EventQueue;

import java.util.function.Function;

public interface CommandInvoker<R> {

    public R invoke(Function<EventQueue, R> run);
}
